package org.jeecg.modules.demo.baseorde.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class BaseOrderCommodityStr implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 商品/项目
     */
    @ApiModelProperty(value = "商品/项目")
    private String name;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String specification;
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private Integer count;
    /**
     * 单价(元)
     */
    @ApiModelProperty(value = "单价(元)")
    private Double price;
    /**
     * 小计(元)
     */
    @ApiModelProperty(value = "小计(元)")
    private Double totalPrice;
    /**
     * 优惠(元)
     */
    @ApiModelProperty(value = "优惠(元)")
    private Double discountAmount;
    /**
     * free
     */
    @ApiModelProperty(value = "free")
    private Boolean free;
    /**
     * staff_percentage
     */
    @ApiModelProperty(value = "staff_percentage")
    private String staffPercentage;
    /**
     * 员工id
     */
    @ApiModelProperty(value = "员工id")
    private String staffId;
    /**
     * type
     */
    @ApiModelProperty(value = "type")
    private Integer type;
    /**
     * pic
     */
    @ApiModelProperty(value = "pic")
    private String pic;
    /**
     * details_url
     */
    @ApiModelProperty(value = "details_url")
    private String detailsUrl;
    /**
     * 销售人员
     */
    @ApiModelProperty(value = "销售人员")
    private String staffName;
    /**
     * 销售提成
     */
    @ApiModelProperty(value = "销售提成")
    private Double staffCommission;
}
